//======================================================
// Auto generated file : 2017-09-08 15:42:03
// Macro's definition based on LGTSDK configuration
// This file will be override by LGTSDK!!!
//======================================================

#ifndef __MACROS_AUTO_H__
#define __MACROS_AUTO_H__

// Macro Definition for chip package
#define MMCU_PACKAGE MMCU_TSSOP20

// Macro definition for: Timer/Counter 1
#define ECP1_CH1EN 	0
#define ECP1_C1M 	0x0  	// PWM Mode
#define ECP1_C1OE 	0
#define ECP1_C1AS 	0x0  	// T1C1 on RB4
#define TC1_CSX 	0x0  	// system clock (Fsys)
#define TC1_TGEN 	0
#define AC_T1GS 	1  	// Gated by ACO
#define TC1_T1GINV 	0
#define TC1_CKPS 	0x3  	// no scaler
#define TC1_PR1 	0x0fa0
#define ECP1_C1POL 	0
#define ECP1_ECDR1 	0x0000
#define ECP1_DCLM 	0x0  	// Instant Mode
#define ECP1_SS1 	0x0  	// from T1C1
#define ECP1_CH2EN 	0
#define ECP1_C2M 	0x0  	// PWM Mode
#define ECP1_C2POL 	0
#define ECP1_C2OE 	0
#define ECP1_ECDR2 	0x0000
#define ECP1_SS2 	0x0  	// from external T1C2
#define ECP1_ENCM 	0x0  	// disable encoder
#define ECP1_ENCDIR 	0x0  	// invert, decrease counter
#define ECP1_CH3EN 	0
#define ECP1_C3M 	0x0  	// PWM Mode
#define ECP1_C3AS 	0x0  	// T1C3 on RA6
#define ECP1_C3POL 	0
#define ECP1_C3OE 	0
#define ECP1_ECDR3 	0x0000
#define ECP1_SS3 	0x0  	// from external T1C3
#define TC1_T1IE 	1
#define ECP1_CCP1IE 	0
#define ECP1_IE1 	0
#define ECP1_IE2 	0
#define ECP1_IE3 	0

// Macro definition for: I/O Subsystem
#define GPP_TRISB4 	0
#define GPP_TRISA0 	1
#define GPP_TRISA1 	0
#define GPP_TRISA2 	0
#define GPP_TRISA3 	0
#define GPP_TRISA4 	0
#define GPP_TRISA5 	0
#define GPP_TRISA6 	0
#define GPP_TRISA7 	0
#define GPP_TRISB0 	0
#define GPP_TRISB1 	0
#define GPP_TRISB2 	0
#define GPP_TRISB3 	0
#define GPP_TRISB5 	0
#define GPP_TRISB6 	0
#define GPP_TRISB7 	0
#define GPP_TRISC0 	0
#define GPP_TRISC1 	0
#define GPP_PORTA0 	0
#define GPP_PORTA1 	0
#define GPP_PORTA2 	0
#define GPP_PORTA3 	0
#define GPP_PORTA4 	0
#define GPP_PORTA5 	0
#define GPP_PORTA6 	0
#define GPP_PORTA7 	0
#define GPP_PORTB0 	0
#define GPP_PORTB1 	0
#define GPP_PORTB2 	0
#define GPP_PORTB3 	0
#define GPP_PORTB4 	0
#define GPP_PORTB5 	0
#define GPP_PORTB6 	0
#define GPP_PORTB7 	0
#define GPP_PORTC0 	0
#define GPP_PORTC1 	0

#endif
